/**
 * @file router config
 */

const routes = [
  {
    path: '/',
    redirect: '/login'
  },
  {
    name: 'login',
    path: '/login',
    component: () => import('src/Widget/Login/Index.vue')
  },
  {
    name: 'index',
    path: '/index',
    component: () => import('src/Widget/Layout/Main/Index.vue')
  },
  {
    name: 'alipay',
    path: '/alipay/:id', // 支付页面
    component: () => import('src/Widget/Layout/Product/WapPlatform/AliPay.vue')
  }
];

export default routes;
